package com.nju.edu.erp.model.po.promotion;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PromotionTwoPO {
    //一个稀疏表，用于与数据库交互
    //type2. 总经理可以制定特价包（组合商品pid降价discount）
    private Integer strategyId;
    private BigDecimal discount;
    private String pid;
}
/*
    以下为可能的输入示例
    promotion_sheet_two:
    strategy-id | pid                  | discount
    1           | 0000000000400000     | 0.99
    1           | 0000000000400001     | 0.99
    1           | 0000000000500000     | 0.98
    1           | 0000000000500001     | 0.99
*/